package com.sample.tdf.domain;

import cn.com.taiji.common.annotation.BaseJoinId;
import cn.com.taiji.common.base.BaseJoinDomain;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.annotations.Where;

import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@NoArgsConstructor
@Entity
@Table(name = "org_emp")
public class EmpOrg extends BaseJoinDomain {
    private static final long serialVersionUID = 7578292815541249813L;

    @BaseJoinId(index = BaseJoinId.Index.first)
    private String empId;

    @BaseJoinId(index = BaseJoinId.Index.second)
    private String orgId;

}
